﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WeLinkApi.Models.Request
{
    public class W_ChildDeptRequest : ApiRequest
    {
        public string deptCode { get; set; }
        public int recursiveflag { get; set; }
        public int offset { get; set; }

        public int limit { get; set; }

        public override string GetApiMethod()
        {
            return "/api/contact/v2/departments/list?deptCode=" + deptCode + "&recursiveflag=" + recursiveflag + "&offset=" + offset + "&limit=" + limit;
        }
    }
}
